#ifndef BUILDINGOBJECT_H
#define BUILDINGOBJECT_H


#include "Object.h"


class BuildingObject : public Object
{
    friend class ObjectManager;


    public:

        virtual ~BuildingObject();
        Ogre::Vector2 getsize() { return m_size; }

        std::string getTypeName() { return m_typeName; }
        void setTypeName(std::string val) { m_typeName = val; }

    virtual OBJ_TYPE getType();

    virtual void init();
    virtual void update(double timeSinceLastFrame);
    virtual void clear();

    protected:

    BuildingObject();
    private:
        Ogre::Vector2 m_size;

        std::string m_typeName;



};

#endif // BUILDINGOBJECT_H
